package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务-mtnGroup配置端口信息对象 busi_mtn_group_port
 * 
 * @author net
 * @date 2024-12-07
 */
public class BusiMtnGroupPort extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** MTN Group业务ID */
    @Excel(name = "MTN Group业务ID")
    @ApiModelProperty(value = "MTN Group业务ID")
    private String busiMtnGroupId;

    /** 源网元 */
    @Excel(name = "源网元")
    @ApiModelProperty(value = "源网元")
    private String startElement;

    /** 源网元 */
    @Excel(name = "宿网元")
    @ApiModelProperty(value = "宿网元")
    private String endElement;

    /** 源网元 */
    @Excel(name = "源端口")
    @ApiModelProperty(value = "源端口")
    private String startPort;

    /** 宿端口 */
    @Excel(name = "宿端口")
    @ApiModelProperty(value = "宿端口")
    private String endPort;

    /** phyNum */
    @Excel(name = "phyNum")
    @ApiModelProperty(value = "phyNum")
    private String phyNum;

    /** 时隙总数 */
    @Excel(name = "时隙总数")
    @ApiModelProperty(value = "时隙总数")
    private String faultNum;

    /** 空闲时隙 */
    @Excel(name = "空闲时隙")
    @ApiModelProperty(value = "空闲时隙")
    private String freeFault;

    /** 已使用时隙 */
    @Excel(name = "已使用时隙")
    @ApiModelProperty(value = "已使用时隙")
    private String usedFault;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记111 */
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBusiMtnGroupId(String busiMtnGroupId) 
    {
        this.busiMtnGroupId = busiMtnGroupId;
    }

    public String getBusiMtnGroupId() 
    {
        return busiMtnGroupId;
    }
    public void setStartElement(String startElement) 
    {
        this.startElement = startElement;
    }

    public String getStartElement() 
    {
        return startElement;
    }
    public void setEndElement(String endElement) 
    {
        this.endElement = endElement;
    }

    public String getEndElement() 
    {
        return endElement;
    }
    public void setStartPort(String startPort) 
    {
        this.startPort = startPort;
    }

    public String getStartPort() 
    {
        return startPort;
    }
    public void setEndPort(String endPort) 
    {
        this.endPort = endPort;
    }

    public String getEndPort() 
    {
        return endPort;
    }
    public void setPhyNum(String phyNum) 
    {
        this.phyNum = phyNum;
    }

    public String getPhyNum() 
    {
        return phyNum;
    }
    public void setFaultNum(String faultNum) 
    {
        this.faultNum = faultNum;
    }

    public String getFaultNum() 
    {
        return faultNum;
    }
    public void setFreeFault(String freeFault) 
    {
        this.freeFault = freeFault;
    }

    public String getFreeFault() 
    {
        return freeFault;
    }
    public void setUsedFault(String usedFault) 
    {
        this.usedFault = usedFault;
    }

    public String getUsedFault() 
    {
        return usedFault;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("busiMtnGroupId", getBusiMtnGroupId())
            .append("startElement", getStartElement())
            .append("endElement", getEndElement())
            .append("startPort", getStartPort())
            .append("endPort", getEndPort())
            .append("phyNum", getPhyNum())
            .append("faultNum", getFaultNum())
            .append("freeFault", getFreeFault())
            .append("usedFault", getUsedFault())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
